package com.boot.cluster.worker.runner;

import com.boot.cluster.worker.bean.Node;

import java.io.Serializable;

public class ClusterJobContext implements Serializable {
    private static final long serialVersionUID = -2458301927114481223L;
    private Node node;
    private Long startTime;
    private Long endTime;
    private String taskId;
    private String sequence;

    public Node getNode() {
        return this.node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public Long getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getTaskId() {
        return this.taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getSequence() {
        return this.sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }
}
